<?php
/**
  * tframe
  * before and after .
  *
  * @copyright Copyright (c) 2012 - 2014, huxiaomin
  * @author huxiaomin    2012-6-21  
  * @since		Version 1.0
  *
  */
class PluginConfig{

   static function getAll(){
        $dplugin = new TTable('dplugin');
        $plan = $dplugin->get('*',array(),'',10000);
        $getAll = array();
        foreach ((array)$plan as $key=>$v){
            $name = $v['name'];
            $class = $v['class'];
            $getAll[$name][] = $class;
        }
        return $getAll;
    }
}

return PluginConfig::getAll();